[INFO] updating cached repository https://github.com/grajnikanth/rust_book_exs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }`
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce158f0f63a61c28f1c995cff6bdfe3b8be73df2
[INFO] checking grajnikanth/rust_book_exs against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrajnikanth%2Frust_book_exs" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/grajnikanth/rust_book_exs on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/grajnikanth/rust_book_exs
[INFO] finished tweaking git repo https://github.com/grajnikanth/rust_book_exs
[INFO] tweaked toml for git repo https://github.com/grajnikanth/rust_book_exs written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/grajnikanth/rust_book_exs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e73b2853c6ea24e53b9d918eec17c9d65fcc89023a1a363821f7663ebdf1ba7a
[INFO] running `Command { std: "docker" "start" "-a" "e73b2853c6ea24e53b9d918eec17c9d65fcc89023a1a363821f7663ebdf1ba7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e73b2853c6ea24e53b9d918eec17c9d65fcc89023a1a363821f7663ebdf1ba7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e73b2853c6ea24e53b9d918eec17c9d65fcc89023a1a363821f7663ebdf1ba7a", kill_on_drop: false }`
[INFO] [stdout] e73b2853c6ea24e53b9d918eec17c9d65fcc89023a1a363821f7663ebdf1ba7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d9b304dbae4fdf97c8562bcabf15b80a595981d2c5f31ee1295f11d234fd5f1e
[INFO] running `Command { std: "docker" "start" "-a" "d9b304dbae4fdf97c8562bcabf15b80a595981d2c5f31ee1295f11d234fd5f1e", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_book_exs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> src/bin/46_errors_5.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let f = File::open("hello.txt").unwrap();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Nickel`, `Dime` and `Quarter` are never constructed
[INFO] [stdout]  --> src/bin/10_match_ex2.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Coin {
[INFO] [stdout]   |      ---- variants in this enum
[INFO] [stdout] 4 |     Penny,
[INFO] [stdout] 5 |     Nickel,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     Dime, 
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 7 |     Quarter
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `T`
[INFO] [stdout]   --> src/bin/57_generics_2.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         if item > largest {
[INFO] [stdout]    |            ---- ^ ------- T
[INFO] [stdout]    |            |
[INFO] [stdout]    |            T
[INFO] [stdout]    |
[INFO] [stdout] help: consider restricting type parameter `T`
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn largest<T: std::cmp::PartialOrd>(list: &[T]) -> T {
[INFO] [stdout]    |             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/45_errors_4.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let res = match f {
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Quit`, `Move` and `ChangeColor` are never constructed
[INFO] [stdout]  --> src/bin/7_enum_ex4.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum Message {
[INFO] [stdout]   |      ------- variants in this enum
[INFO] [stdout] 5 |     Quit,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     Move {x: i32, y: i32}, // Struct data in this variant
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     Write(String),
[INFO] [stdout] 8 |     ChangeColor(i32, i32, i32) //data holds three integers
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]   = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/bin/22_struct_tuples_ex1.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Point(x,y,z) = origin;
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/bin/22_struct_tuples_ex1.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let Point(x,y,z) = origin;
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> src/bin/21_struct_methods_ex2.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Rectangle {
[INFO] [stdout]   |        --------- fields in this struct
[INFO] [stdout] 7 |     width: u32,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 8 |     height: u32
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_book_exs` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/bin/18_struct_display.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct Rectangle {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 9  |     width: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 10 |     height: u32
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/bin/18_struct_display.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | struct Rectangle {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 9  |     width: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 10 |     height: u32
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `home`
[INFO] [stdout]   --> src/bin/54_error_unwrap_1.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let home: IpAddr = "127.0.0.1".parse().unwrap();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_home`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d9b304dbae4fdf97c8562bcabf15b80a595981d2c5f31ee1295f11d234fd5f1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9b304dbae4fdf97c8562bcabf15b80a595981d2c5f31ee1295f11d234fd5f1e", kill_on_drop: false }`
[INFO] [stdout] d9b304dbae4fdf97c8562bcabf15b80a595981d2c5f31ee1295f11d234fd5f1e
